projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55ffebe
)
Add deprecation guards for gtk_icon_set_render_icon
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 17 Dec 2010 19:31:44 +0000
(14:31 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 17 Dec 2010 19:31:44 +0000
(14:31 -0500)
gtk/gtkiconfactory.h
patch
|
blob
|
history
diff --git
a/gtk/gtkiconfactory.h
b/gtk/gtkiconfactory.h
index 69ab250b0e3a7f47546b693e5baaabca412c150a..1faf7b73cdda183ecc7f256b7eee2f750e42e12a 100644
(file)
--- a/
gtk/gtkiconfactory.h
+++ b/
gtk/gtkiconfactory.h
@@
-121,6
+121,7
@@
GtkIconSet* gtk_icon_set_ref (GtkIconSet *icon_set);
void gtk_icon_set_unref (GtkIconSet *icon_set);
GtkIconSet* gtk_icon_set_copy (GtkIconSet *icon_set);
+#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
/* Get one of the icon variants in the set, creating the variant if
* necessary.
*/
@@
-130,7
+131,8
@@
GdkPixbuf* gtk_icon_set_render_icon (GtkIconSet *icon_set,
GtkStateType state,
GtkIconSize size,
GtkWidget *widget,
- const char *detail);
+ const gchar *detail);
+#endif
void gtk_icon_set_add_source (GtkIconSet *icon_set,
const GtkIconSource *source);